import React from 'react'
import { Spin } from 'antd';

export default function Spinner(props:{text?:string}) {
    return (
        <div className='spinner'>
            <Spin tip={props.text||'Loading...'}>
            </Spin>
        </div>
    )
}
